import React from 'react'
import {Fans} from '../../components/fans'

// import A from 'assets/images/touxiang3@2x.png'
import A from 'assets/images/my/touxiang2@2x.png'


const Fan=function(props){
    return(
        <>
            {/* <Fans><img src={A} alt=""/><em>123</em></Fans> */}
            {
               props.list? props.list.map((value)=>{
                   if(value){
                    return <Fans key={value.uid} ><img src={value.himg?A:value.himg} alt=""/>
                    <p>{value.username}</p>
                    <em className={value.content==='互相关注'?'ori':'gray'}>123123</em></Fans>
                   }

                }):''
            }
        </>
    )
}

export default Fan